home *** CD-ROM | disk | FTP | other *** search
- abild(1) Last changed: 1-28-99
-
-
- NNAAMMEE
- aabbiilldd - ABI link editor
-
- SSYYNNOOPPSSIISS
- aabbiilldd [--aa] [--BB _a_r_g_u_m_e_n_t] [--dd _l_i_n_k] [--ee] [--GG] [--II_n_a_m_e]] [[--LL_p_a_t_h]] [[--ll_x]]
- [[--mm]] [[--oo_o_u_t_f_i_l_e]] [[--QQ _i_d] [--rr] [--ss] [--tt] [--uu_s_y_m_n_a_m_e]] [[--vv]] [[--VV]] [[--XX _a_r_g]
- [--zz _s_y_m]] [[--WWll,,_a_r_g_s[[,,_a_r_g_l_i_s_t]] _f_i_l_e_n_a_m_e
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- aabbiilldd is a wrapper shell script for lldd for link editing MMIIPPSS AABBII
- applications. It translates a common subset of the SVR4 Software
- Generation System (SGS) flags and arguments to those of the native
- IRIS Development Option (IDO). By the use of this wrapper,
- applications that link on-site on a target platform are isolated from
- having to know the details of invoking that platform's compilation
- system.
-
- aabbiilldd also serves to hide the details of constructing an ABI
- application on IRIX. The details of exactly how the native lldd
- constructs an ABI application could change, so to insure portability
- aabbiilldd should be used to link all ABI-compliant programs.
-
- The options in the following list are recognized by aabbiilldd. Options
- that are not applicable are generally silently ignored. Further
- details are available in the _U_N_I_X _S_y_s_t_e_m _V _R_e_l_e_a_s_e _4 _P_r_o_g_r_a_m_m_e_r'_s
- _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
-
- --aa Specifies static mode, in which undefined references
- generate errors.
-
- --BB _a_r_g_u_m_e_n_t Specifies archives and symbols. _a_r_g_u_m_e_n_t can be one of
- the following values:
-
- ssttaattiicc Directs aabbiilldd to look only for static
- archives during the link phase.
-
- ddyynnaammiicc Directs aabbiilldd to look for Dynamic Shared
- Objects (DSOs) first, then static
- archives, during the link phase.
-
- The--BB ssttaattiicc and --BB ddyynnaammiicc options
- serve as toggles and can be specified
- multiple times on a command line.
-
- ssyymmbboolliicc When building a DSO, directs aabbiilldd to
- bind references to global symbols to
- their definitions within the object.
-
- eexxppoorrtt [[=_n_a_m_e_s]]
- When creating a DSO, indicates that
- symbols from the next object, archive,
- or DSO are exported from the DSO being
- created. This is the default for an
- object but not for an archive or DSO.
-
- When used with the optional _n_a_m_e_s
- arguemtn, marks the symbols given by the
- list of _n_a_m_e_s as exported. If any
- symbols are exported by this mechanism,
- all unspecified symbols are
- automatically hidden.
-
- eexxppoorrttss__ffiillee==_f_i_l_e_n_a_m_e
- When creating a DSO, specifies the file
- that contains a list of symbols that
- should be exported. Any symbols not
- specifically exported are automatically
- hidden.
-
- hhiiddee [=_n_a_m_e_s]] When creating a DSO, indicates that
- symbols from the next object, archive,
- or DSO are hidden in the DSO being
- created. This is the default for an
- archive or DSO but not for an object.
-
- When used with the optional _n_a_m_e
- argument, marks the symbols given by the
- list of _n_a_m_e_s as hidden. Ignored if any
- symbols are exported by the eexxppoorrtt==_n_a_m_e_s
- option or eexxppoorrttss__ffiillee==_f_i_l_e_n_a_m_e option.
-
- hhiiddeess__ffiillee==_f_i_l_e_n_a_m_e
- When creating a DSO, specifies the file
- that contains a list of symbols that
- should be hidden. Ignored if any
- symbols are exported by the eexxppoorrtt==_n_a_m_e_s
- option or eexxppoorrttss__ffiillee==_f_i_l_e_n_a_m_e option.
-
- oobbjjeeccttlliisstt==_f_i_l_e_n_a_m_e
- Specifies the file that contains the
- object files to be linked.
-
- rrppaatthh==_p_a_t_h Specifies the path name to use when
- linking the IRIX cccc sshhaarreedd option, or
- when using the aabbiilldd --GG option. _p_a_t_h is
- a directory. The dynamic linker
- searches the named directory first.
-
- nnoolliibbrraarryyrreeppllaacceemmeenntt
- Turns on a flag in the dynamic section
- so that rrlldd does not allow execution
- time or runtime changing of the path
- (except for super user) to find the
- DSOs. Typically, this option is used
- for security purposes on system
- utilities.
-
- --dd _l_i_n_k Directs the type of linking. _l_i_n_k can be yy or nn. If
- _l_i_n_k is set to nn, aabbiilldd uses static linking.
- Statically linked executable files do not conform to
- the MIPS ABI. If _l_i_n_k is set to yy, aabbiilldd uses dynamic
- linking (the default) to create a dynamic executable
- file.
-
- --ee_e_p_s_y_m Sets entry point to _e_p_s_y_m.
-
- --GG Directs aabbiilldd to produce a DSO. This option is used
- when generating a DSO (as opposed to a dynamic
- executable file). When using the --GG option, you can
- also specify the output file name and the shared object
- name (_s_o_n_a_m_e), as in the following:
-
- --oo _f_i_l_e..ssoo
-
- --WWll,, --ssoonnaammee, _f_i_l_e..ssoo
-
- --II_n_a_m_e Specifies an interpreter to be linked with the aa..oouutt
- file.
-
- --LL_p_a_t_h Adds _p_a_t_h to library search directories.
-
- --ll_x Searches the specified library.
-
- --mm Produces a memory map.
-
- --oo_o_u_t_f_i_l_e Names the output file.
-
- --QQ _i_d Suppresses or generates compiler identification in
- output. _i_d can be yy or nn. If _i_d is set to nn compiler
- identification is suppressed; when _i_d is set to yy
- compiler identification is generated.
-
- --rr Combines object files into a relocatable object file.
-
- --ss Strips symbolic debugging information.
-
- --tt Suppresses warning about multiple defined symbols of
- different sizes.
-
- --uu_s_y_m_n_a_m_e Enters the named symbol as an undefined symbol.
-
- --vv Indicates verbose mode.
-
- --VV Directs aabbiilldd to produce a version identifier string.
-
- --XX _a_r_g Specifies data. _a_r_g can have the following values:
-
- rreeaaddwwrriittee__ccoonnsstt
- Directs aabbiilldd to place the contents of constant
- data in a writable segment of memory. This is the
- default.
-
- rreeaaddoonnllyy__ccoonnsstt
- Directs aabbiilldd to place the contents of constant
- data in a read-only segment of memory. Use this
- option when you generate programs that will be
- redistributed in on-site linkable object code as
- well as binary form. Some of the other ABI
- platforms support only this behavior.
-
- xxppgg Directs the compiler to set the global variable
- ____xxppgg44 to 1. This value indicates that if there
- is a conflict, libraries should provide behavior
- compatible with the _X/_O_p_e_n _S_i_n_g_l_e _U_N_I_X(_T_M)
- _S_p_e_c_i_f_i_c_a_t_i_o_n rather than the default traditional
- behavior.
-
- 3322 Directs aabbiilldd to generate a 32-bit object. This
- is the default. Defaults to --XX mmiippss11.
-
- 6644 Directs aabbiilldd to generate a 64-bit object.
- Defaults to --XX mmiippss33.
-
- mmiippss11
- Directs aabbiilldd to generate code using the MIPS I
- instruction set of the R2000/R3000 RISC
- architecture. Defaults to --XX 3322.
-
- mmiippss22
- Directs aabbiilldd to use the MIPS II instruction set
- (MIPS 1 + R4000 specific extensions) to generate
- code. Defaults to --XX 3322.
-
- mmiippss33
- Directs aabbiilldd to use the MIPS III (R4000)
- instruction set to generate code. Defaults to --XX
- 6644.
-
- mmiippss44
- Directs aabbiilldd to use the MIPS IV
- (R10000,R5000,R8000) instruction set to generate
- code. Defaults to --XX 6644.
-
- --zz _s_y_m Handles symbols. If _s_y_m is set to ddeeffss aabbiilldd forces
- fatal errors for undefined symbols at the end of the
- link (default when building an executable file). If
- _s_y_m is nnooddeeffss aabbiilldd allows undefined symbols (default
- when building a DSO). If _s_y_m is tteexxtt in dynamic mode,
- it forces a fatal error if relocations against
- unwritable, allocatable sections remain.
-
- --WWll,,_a_r_g_s[[,,_a_r_g_l_i_s_t]
- This IRIX-specific option passes SGI specific options
- to the underlying link command.
-
- NNOOTTEESS
- The options described in the previous section indicate a space
- character between options and arguments. This is in accordance with
- X/Open recommendations for portable applications. aabbiilldd also supports
- placing its argument in the same string with no space. If the
- argument is optional, no space is allowed and this is reflected in the
- previous descriptions of options.
-
- When aabbiilldd is used, the only library in the default search path is
- //uussrr//lliibb//aabbii. If //uussrr//lliibb is searched, an ABI binary file is not
- built.
-
- Only the following object size/instruction set combinations are
- allowed:
-
- * --XX 3322 and --XX mmiippss11
-
- * --XX 3322 and --XX mmiippss22
-
- * --XX 6644 and --XX mmiippss33
-
- * --XX 6644 and --XX mmiippss44
-
- FFIILLEESS
- //uussrr//lliibb//aabbii//ssggiilldd..ccffgg
-
- //uussrr//lliibb//aabbii ABI libraries and configuration
- files
-
- //uussrr//lliibb6644//aabbii ABI libraries
-
- //uussrr//lliibb6644//mmiippss33//aabbii ABI libraries
-
- //uussrr//lliibb6644//mmiippss44//aabbii ABI libraries
-
- //uussrr//iinncclluuddee//aabbii Special ABI include files
-
- //uussrr//lliibb//aabbii//sseettuupp aabbiilldd setup file
-
- //uussrr//lliibb//aabbii//ssggiilldd..ccffgg IRIX aabbiilldd config file
-
- SSEEEE AALLSSOO
- aabbiicccc(1), cchheecckk__aabbii__ccoommpplliiaannccee(1), cchheecckk__aabbii__iinntteerrffaaccee(1),
- cchheecckk__ffoorr__ssyyssccaallllss(1),
- aabbii(5), ddssoo(5)
- _M_I_P_S _P_r_o_c_e_s_s_o_r _A_B_I _C_o_n_f_o_r_m_a_n_c_e _G_u_i_d_e
- _U_N_I_X _S_y_s_t_e_m _V _R_e_l_e_a_s_e _4 _P_r_o_g_r_a_m_m_e_r'_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
-
- This man page is available only online.
-